//
//  main.m
//  Person
//
//  Created by gzjd on 2017/5/6.
//  Copyright © 2017年 gzjd. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "Phone.h"

int main(int argc, const char * argv[]) {
    @autoreleasepool {
        // insert code here...

        NSLog(@"Hello, World!");
        Phone *phone=[Phone alloc];
        NSLog(@"123%@",phone);
        phone->_screenSize=4.6;
        phone->_color=@"黑色";
        phone->_memory=1024;
        NSLog(@"%@",phone);
        [phone makeCallToSomeone:@"小明"];
        [phone sendMessage:@"今天天气不错" toReceiver:@"小明"];
        
    }
    
    return 0;
}
